package com.meter.basic.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.meter.basic.domain.BasicDevice;

import java.util.List;

public interface IBasicDeviceService extends IService<BasicDevice> {

    BasicDevice selectBasicDeviceById(Long deviceId);

    List<BasicDevice> selectBasicDeviceList(BasicDevice basicDevice);

    int insertBasicDevice(BasicDevice basicDevice);

    int updateBasicDevice(BasicDevice basicDevice);

    int deleteBasicDeviceByIds(String deviceIds);

    int deleteBasicDeviceById(Long deviceId);

    boolean checkDeviceCodeUnique(BasicDevice basicDevice);

    String importDevice(List<BasicDevice> deviceList, Boolean isUpdateSupport, String operName);
}
